# name : export as csv with utf-8 bom
# key : export.csv.filename.bom
# contributor: Shuguang Sun
# --
filename ${1:fileref} \"&${2:$$(yas-choose-value '("__wksppath__" "__wksppath" "_wksppath_" "__prjpath__" "__prjpath"))}./data/${3:$$(yas-choose-value '("interim" "processed" "csv"))}/$4.csv\" encoding="utf8";
proc export data=${4:din} outfile=$1
dbms=csv replace;
run;
filename $1 clear;